package com.sinosoft.system.primary.biz;

import java.util.List;

import com.sinosoft.system.primary.entity.SysMenu;
import com.sinosoft.system.util.page.Pagenation;

public interface SysMenuBiz {
	public int insertSysMenu(SysMenu sysMenu);
	public int updateSysMenu(SysMenu sysMenu);
	public int deleteSysMenu(int id);
	public SysMenu selectSysMenu(int id);
	public SysMenu selectSysMenu(List<String> queryKeys,List<Object> queryValues);
	public int selectCountSysMenu();
	public int selectCountSysMenu(List<String> queryKeys,List<Object> queryValues);
	public List<SysMenu> selectLimitSysMenu(int start,int size);
	public List<SysMenu> selectLimitSysMenu(List<String> queryKeys,List<Object> queryValues,int start,int size);
	public List<SysMenu> selectAllSysMenu();
	public List<SysMenu> selectAllSysMenu(List<String> queryKeys,List<Object> queryValues);
	public Pagenation selectPageSysMenu(Pagenation page);
	public boolean isPermitted(String roleids,String uri);
}
